<extend name="public@base"/>
<block name="main">
  <div class="wrap">
    <div class="row">
      <div class="col-md-offset-3 col-md-6">
        <div class="panel panel-default" style="margin-top: 10%">
          <div class="panel-heading">
            <h3 class="panel-title">{:lang('CACHE_CLEARED')}</h3>
          </div>
          <div class="panel-body">
            <div style="line-height: 60px;">{:lang('CACHE_CLEARED')}</div>
            <div><a class="btn btn-primary pull-right" href="javascript:close_app();">{:lang('CLOSE')}</a>
              <div class="clearfix"></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</block>
<block name="bottom-script">
  <script>
    var closeTimeout = setTimeout(function () {
        parent.close_current_app();
    }, 3000);
    function close_app() {
        clearTimeout(closeTimeout);
        parent.close_current_app();
    }
  </script>
</block>